/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mapeClient;

/**
 *
 * @author marco
 */
public class TransmissionClient {
    
    
    public void transmit(String message){
        TransmissionParameter par = new TransmissionParameter();
        //TODO Insert XML configuration models
        par.setIpAddress("localhost");
        par.setPort(4567);
        Messenger msng = new Messenger();
        msng.sendMessage(ServiceFactory.getInstance().getProxy("tcp", par), message);
    }
}
